﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020000DD RID: 221
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BABHHIHLJPB : IMessage<BABHHIHLJPB>, IMessage, IEquatable<BABHHIHLJPB>, IDeepCloneable<BABHHIHLJPB>, IBufferMessage
	{
		// Token: 0x170002F5 RID: 757
		// (get) Token: 0x06000A1F RID: 2591 RVA: 0x0001E310 File Offset: 0x0001C510
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BABHHIHLJPB> Parser
		{
			get
			{
				return BABHHIHLJPB._parser;
			}
		}

		// Token: 0x170002F6 RID: 758
		// (get) Token: 0x06000A20 RID: 2592 RVA: 0x0001E317 File Offset: 0x0001C517
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BABHHIHLJPBReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170002F7 RID: 759
		// (get) Token: 0x06000A21 RID: 2593 RVA: 0x0001E329 File Offset: 0x0001C529
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BABHHIHLJPB.Descriptor;
			}
		}

		// Token: 0x06000A22 RID: 2594 RVA: 0x0001E330 File Offset: 0x0001C530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BABHHIHLJPB()
		{
		}

		// Token: 0x06000A23 RID: 2595 RVA: 0x0001E344 File Offset: 0x0001C544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BABHHIHLJPB(BABHHIHLJPB other) : this()
		{
			this.jGLLIDACGPN_ = other.jGLLIDACGPN_;
			this.type_ = other.type_;
			this.oKCPAMHGKLD_ = other.oKCPAMHGKLD_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000A24 RID: 2596 RVA: 0x0001E391 File Offset: 0x0001C591
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BABHHIHLJPB Clone()
		{
			return new BABHHIHLJPB(this);
		}

		// Token: 0x170002F8 RID: 760
		// (get) Token: 0x06000A25 RID: 2597 RVA: 0x0001E399 File Offset: 0x0001C599
		// (set) Token: 0x06000A26 RID: 2598 RVA: 0x0001E3A1 File Offset: 0x0001C5A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint JGLLIDACGPN
		{
			get
			{
				return this.jGLLIDACGPN_;
			}
			set
			{
				this.jGLLIDACGPN_ = value;
			}
		}

		// Token: 0x170002F9 RID: 761
		// (get) Token: 0x06000A27 RID: 2599 RVA: 0x0001E3AA File Offset: 0x0001C5AA
		// (set) Token: 0x06000A28 RID: 2600 RVA: 0x0001E3B2 File Offset: 0x0001C5B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Type
		{
			get
			{
				return this.type_;
			}
			set
			{
				this.type_ = value;
			}
		}

		// Token: 0x170002FA RID: 762
		// (get) Token: 0x06000A29 RID: 2601 RVA: 0x0001E3BB File Offset: 0x0001C5BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> OKCPAMHGKLD
		{
			get
			{
				return this.oKCPAMHGKLD_;
			}
		}

		// Token: 0x06000A2A RID: 2602 RVA: 0x0001E3C3 File Offset: 0x0001C5C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BABHHIHLJPB);
		}

		// Token: 0x06000A2B RID: 2603 RVA: 0x0001E3D4 File Offset: 0x0001C5D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BABHHIHLJPB other)
		{
			return other != null && (other == this || (this.JGLLIDACGPN == other.JGLLIDACGPN && this.Type == other.Type && this.oKCPAMHGKLD_.Equals(other.oKCPAMHGKLD_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000A2C RID: 2604 RVA: 0x0001E434 File Offset: 0x0001C634
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.JGLLIDACGPN != 0U)
			{
				num ^= this.JGLLIDACGPN.GetHashCode();
			}
			if (this.Type != 0U)
			{
				num ^= this.Type.GetHashCode();
			}
			num ^= this.oKCPAMHGKLD_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000A2D RID: 2605 RVA: 0x0001E49A File Offset: 0x0001C69A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000A2E RID: 2606 RVA: 0x0001E4A2 File Offset: 0x0001C6A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000A2F RID: 2607 RVA: 0x0001E4AC File Offset: 0x0001C6AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.JGLLIDACGPN != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.JGLLIDACGPN);
			}
			if (this.Type != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Type);
			}
			this.oKCPAMHGKLD_.WriteTo(ref output, BABHHIHLJPB._repeated_oKCPAMHGKLD_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000A30 RID: 2608 RVA: 0x0001E518 File Offset: 0x0001C718
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.JGLLIDACGPN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.JGLLIDACGPN);
			}
			if (this.Type != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Type);
			}
			num += this.oKCPAMHGKLD_.CalculateSize(BABHHIHLJPB._repeated_oKCPAMHGKLD_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000A31 RID: 2609 RVA: 0x0001E584 File Offset: 0x0001C784
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BABHHIHLJPB other)
		{
			if (other == null)
			{
				return;
			}
			if (other.JGLLIDACGPN != 0U)
			{
				this.JGLLIDACGPN = other.JGLLIDACGPN;
			}
			if (other.Type != 0U)
			{
				this.Type = other.Type;
			}
			this.oKCPAMHGKLD_.Add(other.oKCPAMHGKLD_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000A32 RID: 2610 RVA: 0x0001E5E5 File Offset: 0x0001C7E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000A33 RID: 2611 RVA: 0x0001E5F0 File Offset: 0x0001C7F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 88U)
				{
					if (num == 48U)
					{
						this.JGLLIDACGPN = input.ReadUInt32();
						continue;
					}
					if (num == 88U)
					{
						this.Type = input.ReadUInt32();
						continue;
					}
				}
				else if (num == 120U || num == 122U)
				{
					this.oKCPAMHGKLD_.AddEntriesFrom(ref input, BABHHIHLJPB._repeated_oKCPAMHGKLD_codec);
					continue;
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000419 RID: 1049
		private static readonly MessageParser<BABHHIHLJPB> _parser = new MessageParser<BABHHIHLJPB>(() => new BABHHIHLJPB());

		// Token: 0x0400041A RID: 1050
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400041B RID: 1051
		public const int JGLLIDACGPNFieldNumber = 6;

		// Token: 0x0400041C RID: 1052
		private uint jGLLIDACGPN_;

		// Token: 0x0400041D RID: 1053
		public const int TypeFieldNumber = 11;

		// Token: 0x0400041E RID: 1054
		private uint type_;

		// Token: 0x0400041F RID: 1055
		public const int OKCPAMHGKLDFieldNumber = 15;

		// Token: 0x04000420 RID: 1056
		private static readonly FieldCodec<uint> _repeated_oKCPAMHGKLD_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x04000421 RID: 1057
		private readonly RepeatedField<uint> oKCPAMHGKLD_ = new RepeatedField<uint>();
	}
}
